package webbrow.search.model;

import java.util.List;

import webbrow.board.vo.BoardSpringVO;

public interface SearchDao {
	// 제목, 작성자, 글내용, 제목+내용 4가지 카테고리
	public List<BoardSpringVO> searchContentByTitle(SearchCommand command) throws Exception;
	public List<BoardSpringVO> searchContentByWriter(SearchCommand command) throws Exception;
	public List<BoardSpringVO> searchContentByContent(SearchCommand command) throws Exception;
	public List<BoardSpringVO> searchContentByTitleContent(SearchCommand command) throws Exception;
	// 각 검색 결과에 따른 게시물의 갯수
	public int selectTitlePostingCount(String keyword) throws Exception;
	public int selectWriterPostingCount(String keyword) throws Exception;
	public int selectContentPostingCount(String keyword) throws Exception;
	public int selectTitleContentPostingCount(String keyword) throws Exception;
	
}
